{% extends 'base.html' %}
{% block main %}

<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
    <thead>
    <tr>
        <th>序号</th>
        <th>姓名</th>
        <th>成绩</th>
    </tr>
    </thead>
    <tbody>
    {% for stu in stu_list %}
    <tr>
        <td>{{ stu.id }}</td>
        <td>{{ stu.name }}</td>
        <td>{{ stu.percent }}</td>
    </tr>
    {% endfor %}
    </tbody>
</table>

{% endblock %}

